package cn.itrip.biz.service;

import cn.itrip.beans.vo.AreaDicVO;
import cn.itrip.beans.vo.HotCityVO;
import cn.itrip.dao.ItripAreaDicMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @Description :
 * Created by Li on 2020-12-23 13:36:36
 */
@Service
public class HotelService {
    @Autowired
    private ItripAreaDicMapper areaDicMapper;
    public List<HotCityVO> queryHotCity(Integer isChina) {
        return areaDicMapper.selectHotCity(isChina);
    }

    public List<AreaDicVO> queryTradeArea(Integer parentId) {
        return areaDicMapper.queryTradeArea(parentId);
    }
}
